package com.sun.androidexerciseproject.function.tools;

/**
 * Created by Administrator on 2016/5/28 0028.
 */

public class Algorithm {
    public String reverse(String content) {
        if (null == content || content.length() <= 1) {
            return content;
        }
        return (reverse(content.substring(1))) + content.charAt(0);
    }
}
